// 存储token到本地
const setToken = (token) => {
  return window.localStorage.setItem('key', token)
}
// 取token到本地
const getToken = () => {
  return window.localStorage.getItem('key')
}
// 删除token到本地
const rmToken = () => {
  return window.localStorage.removeItem('key')
}
export { setToken, getToken, rmToken }